package com.jerry.api.entity;

/**
 * @Date: 2025/4/7 15:02
 * @Created: by 王永发
 * @Description: Score
 */
//@Data
public class JAddress {
    private String id;
    private String name;
    private String parentId;
    private Long level;

    public JAddress() {
    }

    public JAddress(String id, String name, String parentId, Long level) {
        this.id = id;
        this.name = name;
        this.parentId = parentId;
        this.level = level;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Long getLevel() {
        return level;
    }

    public void setLevel(Long level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", parentId='" + parentId + '\'' +
                ", level=" + level +
                '}';
    }
}
